<template>
  <div>
    <el-dialog
      :title="title"
      :closeOnClickModal="false"
      :visible.sync="show"
      width="650px">
          <el-row>
            <el-col>
              用户名：{{selectTable.userAccount}}
            </el-col>
            <el-col>
              联系方式：{{selectTable.contact}}
            </el-col>
            <el-col>
              <img :src="item" v-for="item in selectTable.list">
            </el-col>
            <el-col>
              反馈内容：{{selectTable.content}}
            </el-col>
          </el-row>
    </el-dialog>
  </div>
</template>
<style lang="scss" scoped>
img{
  max-width: 100%;
  display: block;
}
</style>

<script>
export default {
  components: {
  },
  props: {
    data: Object
  },
  created() {
    this.selectTable = this.data
  },
  watch: {
    show(newVal) {
      this.$parent.detail = false
    }
  },
  computed: {
    title() {
      return '查看'
    }
  },
  data() {
    return {
      pload: false,
      show: true,
      selectTable: {}
    }
  },
  methods: {
  }
}
</script>